package com.yds.views.adapterx;

import android.view.View;

import androidx.annotation.NonNull;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import androidx.recyclerview.widget.RecyclerView;


/**
 * 创建者：于德水
 * 创建时间：2021/9/13 0013 14:48
 * 创建描述：定制ViewHolder androidx
 */
@SuppressWarnings("all")
public class YDSViewHolderX extends RecyclerView.ViewHolder {
    public ViewDataBinding itemBinding;

    public YDSViewHolderX(@NonNull View itemView) {
        super(itemView);
        this.itemBinding = DataBindingUtil.bind(itemView);
    }

    public YDSViewHolderX(@NonNull ViewDataBinding itemBinding) {
        super(itemBinding.getRoot());
        this.itemBinding = itemBinding;
    }

}
